<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>留言管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style.css" />
<script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
<script src="__PUBLIC__/DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/jquery.artDialog.js?skin=default" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/plugins/iframeTools.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/common.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/inputpost.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/vanadium.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/inputcheck.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
    <div class="nav">
        <div class="fn-left">
        <input class="button01-out" type="button" id="checkall1" value="全选" />
        <input class="button01-out" type="button" id="checktog1" value="反选" />
        <input class="button01-out" type="button" id="checkoff1" value="取消" />
        <input onclick="myform.submit()" class="button01-out" type="button" value="删除" /> 
        </div>
        <form method="get" action="__URL__/index.html">
          <input type="hidden" value="1" name="search" />   
        <em class="fn-left h25">开始时间:</em>
        <div class="fn-left">&nbsp;<input readonly="readonly" onClick="WdatePicker()" type="text" name="starttime" size="20" value="{$keyword}" class=":required input-text input-date" style="height: 22px; line-height: 22px" /> </div>
        <em class="fn-left h25">结束时间</em>
        <div class="fn-left">&nbsp;<input readonly="readonly" onClick="WdatePicker()" type="text" name="endtime" size="20" value="{$keyword}" class=":required input-text input-date" style="height: 22px; line-height: 22px" /> </div>
        <div class="fn-left">&nbsp;<input style="border: none" class="button01-out" type="submit" value="提 交" /></div>
        </form>
     </div>
<div class="table-list">
<form name="myform" action="__URL__/index.html" method="post">
<input type="hidden" name="action" value="alldel" />
<table width="100%" cellspacing="0" cellpadding="0"> 
<thead>
<tr>
    <th class="one" width="20"><input id="all" type="checkbox" name="all" value="all" /></th>
    <th width="60">操作</th>
    <th width="40">审核</th>
    <th width="60">回复</th>
    <th width="100">用户名</th>
    <th width="130">留言时间</th>
    <th>内容</th>
</tr>
</thead>
<tbody>
    {loop $info $key $rs}	
    <tr{if $key%2} class="sys"{/if}>
    <td class="t-c" width="20"><input cssrain="one" type="checkbox" name="fid[]" value="{$rs['id']}" /></td>
    <td class="t-c">
        <span class="window" onclick="look('__URL__/edit-{$rs['id']}.html','回复',500,200)" title="回复"><img src="__PUBLIC__/images/icon_edit.gif" /></span>
        <span class="del" uid="__URL__/index-{$rs['id']}.html" title="删除"><img src="__PUBLIC__/images/icon_del.gif" /></span>
    </td>
    <td class="t-c"><span class="pt goto" uid="__URL__/open-{$rs['id']}.html">{if $rs['open']}已审{else}<span class="hot">未审</span>{/if}</span></span></td>
    <td class="t-c"><span class="pt" onclick="look('__URL__/edit-{$rs['id']}.html','回复',500,200)">{if $rs['new'] == 1}已回复{else}<span class="hot">未回复</span>{/if}</span></td>
    <td class="t-c">{$rs['username']}</td>
    <td class="t-c">{date('Y-m-d H:i:s',$rs['uptime'])}</td>
    <td class="t-l last"><img src="__PUBLIC__/images/icon_li.gif" /> {$rs['content']}</td>  
</tr>
{/loop}
</tbody>  
</table>
</form>
    <div class="btn h25">
        <div class="fn-right"><div id="pages">{$page}</div></div>
        <div class="fn-clear"></div>
    </div>
</div>
    </div>
</body>
</html>